#ifndef MYPLAYLISTSONGSVIEW_H
#define MYPLAYLISTSONGSVIEW_H

#include <QWidget>

class MyPlayListModel;
class SongModel;

namespace Ui {
class MyPlayListSongsView;
}

class MyPlayListSongsView : public QWidget
{
    Q_OBJECT

public:
    explicit MyPlayListSongsView(QWidget *parent = 0);
    ~MyPlayListSongsView();



    MyPlayListModel *myPlaylist() const;
    void setMyPlaylist(MyPlayListModel *myPlaylist);

    void refreshView();
protected:
    virtual void resizeEvent(QResizeEvent *);
private:
    Ui::MyPlayListSongsView *ui;

    MyPlayListModel *_myPlaylist;

public slots:
    void cellDoubleClicked(int row, int column);
    void slot_customContextMenuRequested(const QPoint & pos);
};

#endif // MYPLAYLISTSONGSVIEW_H
